VIVE 3DSP Native C Library  ver 1.0.0.0
Audio 3DSP (3D Sound Perception) Native C Library
Public Member Functions | Static Public Member Functions | Data Fields
HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion Struct Reference

#include <audio_engine.h>

Public Member Functions

VIVE_3DSP_Vector3 operator* (const VIVE_3DSP_Vector3 &a)
 
VIVE_3DSP_Quaternion operator* (const VIVE_3DSP_Quaternion &a)
 
bool equals (VIVE_3DSP_Quaternion a)
 

Static Public Member Functions

static VIVE_3DSP_Quaternion Inverse (VIVE_3DSP_Quaternion rot)
 

Data Fields

float x
 
float y
 
float z
 
float w
 

Detailed Description

A unit-length quaternion. Quaternions are used to represent a rotation or orientation.

Member Function Documentation

◆ equals()

bool HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion::equals ( VIVE_3DSP_Quaternion  a)

◆ Inverse()

static VIVE_3DSP_Quaternion HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion::Inverse ( VIVE_3DSP_Quaternion  rot)
static

The inverse of quaternion.

◆ operator*() [1/2]

VIVE_3DSP_Vector3 HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion::operator* ( const VIVE_3DSP_Vector3 &  a)

Overloading the multiplication of the position vector and the quaternion.

◆ operator*() [2/2]

VIVE_3DSP_Quaternion HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion::operator* ( const VIVE_3DSP_Quaternion &  a)

Overloading the multiplication of two quaternions.

Field Documentation

◆ w

float HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion::w

The scalar part.

◆ x

float HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion::x

The x-coordinate of the vector part.

◆ y

float HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion::y

The y-coordinate of the vector part.

◆ z

float HTC_Vive3DSP_SDK::VIVE_3DSP_Quaternion::z

The z-coordinate of the vector part.


The documentation for this struct was generated from the following file: